﻿using System.Web.Security;

namespace Xwltz.Framework.Framework
{
    public class Authentication
    {
        public static void SetAuthenticationToken(string token, bool createPersistentCookie = false)
        {
            FormsAuthentication.SetAuthCookie(token, createPersistentCookie);
        }

        public static void SignOut()
        {
            FormsAuthentication.SignOut();
        }
    }
}
